package com.ysw.service;

import com.github.pagehelper.PageInfo;
import com.ysw.entity.Shop;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ShopService {
    PageInfo<Shop> getPageInfo(Integer pageNum, Integer pageSize);
    List<Shop> shopSelectAll();
    int addShop(Shop shop);
    List<Shop> shopSelectByName(String type);
    int deleteShop(Integer id);
    void resetAutoIncrement() throws Exception;
    Shop shopSelectById(int id);
    int updateShop(Shop shop);
    int count();
    void export(HttpServletResponse response) throws Exception;
}
